package cn.hnc.checkapi.repository;

import cn.hnc.checkapi.bean.NcVer;
import org.springframework.data.jpa.repository.JpaRepository;

public interface NcVerRepository extends JpaRepository<NcVer, Long> {
   NcVer findFirstByProductId(Long productId);

   void deleteByProductId(Long productId);
}
